package com.jack.concurrentdb;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class AccountWallet {

    private int id;
    private String userOpenId;
    private BigDecimal userAmount;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String payPassword;
    private int isOpen;
    private String checkKey;
    private int version;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserOpenId() {
        return userOpenId;
    }

    public void setUserOpenId(String userOpenId) {
        this.userOpenId = userOpenId;
    }

    public BigDecimal getUserAmount() {
        return userAmount;
    }

    public void setUserAmount(BigDecimal userAmount) {
        this.userAmount = userAmount;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }

    public int getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(int isOpen) {
        this.isOpen = isOpen;
    }

    public String getCheckKey() {
        return checkKey;
    }

    public void setCheckKey(String checkKey) {
        this.checkKey = checkKey;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "AccountWallet{" +
                "id=" + id +
                ", userOpenId='" + userOpenId + '\'' +
                ", userAmount=" + userAmount +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", payPassword='" + payPassword + '\'' +
                ", isOpen=" + isOpen +
                ", checkKey='" + checkKey + '\'' +
                ", version=" + version +
                '}';
    }
}
